public class ToStringTest {
    public static void main(String[] args) {
        ToString arr1 = new ToString();
        System.out.println(arr1.toString());
        System.out.println("-----------------------");

        ToString arr2 = new ToString(0);
        System.out.println(arr2.toString());
        System.out.println("-----------------------");

        ToString arr3 = new ToString(5);
        arr3.add(1);
        arr3.add(2);
        arr3.add(3);
        arr3.add(4);
        arr3.add(5);
        System.out.println(arr3.toString());
    }
}
